#ifndef XLABEL_H
#define XLABEL_H

#ifdef XEXPORTING
#define XEXPORT_DLL __declspec(dllexport)
#else
#define XEXPORT_DLL __declspec(dllimport)
#endif

#include <XDraw.h>

class XEXPORT_DLL XLabel
{
private:
	XHash Hash;
	XTextPack* Text;
	XWindow* ParentWindow;
public:
	XLabel(XHash hash, XWindow* parentWindow);

	void SetText(const char* text);
	void SetText(int number);
	void SetGeometry(XRectangle rect);
	XRectangle GetGeometry();

	void Update(XInputModule* input);
};


#endif